package com.fdb.basic.framework.core.exception;

/**
 * 队列中暂停异常
  * TODO
  * @author wanglihua
  * @since 2019年5月16日 上午10:37:44
  * @version 1.0
 */
public class QueuePauseException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 289437365258854135L;

	public static final String MESSAGE = "应用系统暂停异常";

	private String errorCode;

	public QueuePauseException() {
		super(MESSAGE);
	}

	public QueuePauseException(String message) {
		super(message);
	}

	public QueuePauseException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public QueuePauseException(String message, Throwable cause) {
		super(message, cause);
	}

	public QueuePauseException(String errorCode, String message, Throwable cause) {
		super(message, cause);
		this.errorCode = errorCode;
	}

	public QueuePauseException(Throwable cause) {
		super(cause);
	}

	public String getErrorCode() {
		return errorCode;
	}
}
